package cn.hello2018.oa.dao;

import cn.hello2018.oa.entity.ClaimVoucher;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author jeymingwu
 * @date 2019/2/19 10:15
 */
@Repository
public interface ClaimVoucherDao {
    void insert(ClaimVoucher claimVoucher);

    void update(ClaimVoucher claimVoucher);

    void delete(Integer id);

    ClaimVoucher select(Integer id);

    List<ClaimVoucher> selectByCreateSn(String sn);

    List<ClaimVoucher> selectByNextDealSn(String ndsn);
}
